package com.zwzh.feign.controller;

import com.zwzh.feign.service.HelloFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: zhoujie
 * @date: 2019-05-15 16:42
 */
@RestController
public class helloController {
    @Autowired
    HelloFeignService helloFeignService;

    @GetMapping(value = "feign")
    public String  helloFeign(){
       return helloFeignService.hello();
    }
}
